package de.jkoslows.decisions.entity;

public class ExpressionParameter extends Parameter {

	public enum Expression{
		BIGGER, SMALLER, AROUND, EQUAL, NOTHING
	}

	private double deviation;
	private Expression expression;
	
	public ExpressionParameter(){
		super();
		this.deviation = 0.0d;
		this.expression = Expression.NOTHING;
	}
	
	public ExpressionParameter(Type type, double value, Unit unit, Expression expression, double deviation){
		super(type, value, unit); 
		this.deviation = deviation;
		this.expression = expression;
	}
	
	public Expression getExpression(){
		return expression;
		
	}
	
	public double getDeviation(){
		return deviation;
		
	}
}
